-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FS-59 Add pytest bdd #13
Conversation
de01657
to
4acaef3
Compare
4acaef3
to
0dde4a8
Compare
|
||
tolerance = Decimal("0.01") | ||
is_equal = abs(expected_value - actual_value) <= tolerance | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may not actually need this decimal stuff. I originally thought we had an issue with types before finding out it was the closed loop error stuff. Don't think it would hurt to keep it in though!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I don't think it's currently used, as it would only apply when just a numeric value is returned.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice fix! Just a minor comment from me.
Description
Incorporates pytest-bdd and is based on the changes in WaitThatShouldntWork/Infer@main...feature/bdd-test
Uses LangChain evaluators to check for correctness in the case of none contains matches,
Changelog